		<table class="custom-table" cellpadding="0" cellspacing="0">
			<thead>
			<tr>
				<th class="th01">ID</th>
				<th class="th02">储值卡名称</th>
				<th class="th03">储值卡金额</th>
				<th class="th04">数量</th>
				<th class="th05">开始时间</th>
				<th class="th01">截止时间</th>
				<th class="th01">生成时间</th>
				<th class="th04">备注</th>
				<th class="th05">操作</th>
			</tr>
			</thead>
			<tbody>
			<?php foreach ($this->paginator as $recharge) : ?>
				<tr>
                 <td><?php echo $this->escapeHtml($recharge->rc_id);?></td>
                 <td><?php echo $this->escapeHtml($recharge->rc_name);?></td>
                 <td><?php echo $this->escapeHtml($recharge->rc_amount);?></td>
                 <td><?php echo $this->escapeHtml($recharge->rc_num);?></td>
                 <td><?php echo $this->escapeHtml($recharge->rc_start_time);?></td>
                 <td><?php echo $this->escapeHtml($recharge->rc_end_time);?></td>
                 <td><?php echo $this->escapeHtml($recharge->rc_create_time);?></td>
                 <td><?php echo $this->escapeHtml($recharge->rc_remark);?></td>
                 <td><a href="/crm/recharge/recharge-detail/<?php echo $this->escapeHtml($recharge->rc_id);?>">储值卡详情</a>／<a href="javascript:deleteRc('<?php echo $this->escapeHtml($recharge->rc_id);?>')">删除</a></td>
				</tr>
			<?php endforeach; ?>
			</tbody>
		</table>
<?php
 // add at the end of the file after the table
 echo $this->paginationControl(
     // the paginator object
     $this->paginator,
     // the scrolling style
     'sliding',
     // the partial to use to render the control
     'partial/ajax-paginator.phtml',
     // the route to link to when a user clicks a control link
     array(
         'route' => $this->url('crm/recharge',
          array('action'=>'ajax-recharge-table')),
         'params_string' => ''
     )
 );
 ?>